Tweak error prose for malformed magellanx routes.
authorrobertl <robertl>
Thu, 30 Nov 2006 03:18:04 +0000 (03:18 +0000)
committerrobertl <robertl>
Thu, 30 Nov 2006 03:18:04 +0000 (03:18 +0000)
magproto.c

index df67ee403e818519d6b0339eab19e2b5e8172bb2..ba41189cf254a95bb5bfebc873b7784883522753 100644 (file)
@@ -972,10 +972,10 @@ mag_rteparse(char *rtemsg)
                char *ca, *ce;
                
                ca = rtemsg + n;
-               is_fatal(*ca++ != ',', MYNAME ": Wrong formated line!");
+               is_fatal(*ca++ != ',', MYNAME ": Incorrectly formatted route line '%s'", rtemsg);
 
                ce = strchr(ca, ',');
-               is_fatal(ce == NULL, MYNAME ": Wrong formated line!");
+               is_fatal(ce == NULL, MYNAME ": Incorrectly formatted route line '%s'", rtemsg);
 
                if (ca == ce)
                        xasprintf(&rte_name, "Route%d", rtenum);